config := googleProviderConfig(t)

url, err := replaceVarsForTest(config, rs, "{{PrivatecaBasePath}}projects/{{project}}/locations/{{location}}/caPools/{{pool}}/certificates/{{name}}")

if err != nil {
	return err
}

res, err := sendRequest(config, "GET", "", url, config.userAgent, nil)
if err != nil {
	return err
}


if _, ok := res["revocationDetails"]; !ok {
    return fmt.Errorf("CertificateAuthority.Certificate Revocation expected %s got %s, want revocationDetails.revocationTime", url, s)
}

return nil